home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Games of Daze
/
Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso
/
x2ftp
/
msdos
/
pmode
/
exc_dx02
/
exc.h
< prev
next >
Wrap
C/C++ Source or Header
|
1994-08-02
|
652b
|
29 lines
#ifndef _EXC_H_
#define _EXC_H_
typedef struct
{
short number,code;
short DS,ES,FS,GS,SS,CS;
unsigned int EIP,EAX,EBX,ECX,EDX;
unsigned int ESI,EDI,EFL,ESP,EBP;
}
excReg;
extern void InstallExcHandler (void (*userHook)(excReg *r), char debugDump);
extern void RemoveExcHandler (void);
extern void ExcGlue_0 (void); /* for exception 0-7,9,14-17 */
extern void ExcGlue_1 (void); /* for exception 8, 10-14 */
extern void * excHookMain;
extern excReg except;
#define DO_EXC_REG_DUMP 1
#define NO_EXC_REG_DUMP 0
#define NO_EXC_USR_HOOK NULL
#endif